﻿using MyFileView.Core.DocumentFormat;
using MyFileView.Core.Service.Pdf;
using MyFleView.Core;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyFileView.Core.Core
{    
    /// <summary>
     /// abstract要放到前面才嗯那个能确认为抽象类，在程序集中判断时
     /// </summary>
    abstract public class AbstractImageDocumentConvert(IConvertFileFactory convertFileFactory) : AbstractOfficeDocumentConvert(convertFileFactory)
    {

        public AfterConvertPathHandle AfterConvertPath { get { return ConvertFileContext.AfterConvertPathHandle; } }

        public virtual void SetProperty(string path,string action,int width,int height)
        {
            AfterConvertPath.SetCollection(path);
            AfterConvertPath.Action = action;
            AfterConvertPath.Width = width;
            AfterConvertPath.Height = height;


        }
    }
}
